package com.vonchange.headb.utils.bean;


public class HBeanUtils extends jodd.bean.BeanUtil {
//private  static Logger logger =LoggerFactory.getLogger(BeanUtils.class);
	public static Object instance(Class<?> clazz) {
		
		Object bean = null;
		try {
			bean = clazz.newInstance();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return bean;
	}
	public static Object getPublicPro(Object bean, String name) {
		if(name.equals("serialVersionUID")){//??????
			return null;
		}
		return getProperty(bean, name);
	}
}
